// 数字转换-访问量转换
export default{
    getNum(num){
        if(num<1000)return num
        else if(num>=1000 && num <10000)return num=(num/1000).toFixed(1)+'k'
        else if(num>=10000 && num<100000)return num=(num/10000).toFixed(1)+'w'
        else if(num>=100000)return '10w+'
    }
}